package com.smartleanx.module.hrm.service.esign.temp.po;

import com.baomidou.mybatisplus.annotation.*;
import com.smartleanx.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * e签宝合同档案
 *
 * @author xzq
 * @since 2025-07-31 13:35:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HrmEContractArchiving对象", description = "e签宝合同档案")
@TableName("hrm_e_contract_archiving")
public class HrmEContractArchiving extends BaseDO  {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "数据状态 0/删除 1/正常")
    @TableField(value = "data_status", fill = FieldFill.INSERT)
    private Integer dataStatus;

    @ApiModelProperty(value = "合同名称")
    @TableField("contract_name")
    private String contractName;

    @ApiModelProperty(value = "租户id")
    @TableField("tenant_id")
    private Long tenantId;

    @ApiModelProperty(value = "合同编号")
    @TableField("contract_no")
    private String contractNo;

    @ApiModelProperty(value = "参与方")
    @TableField("actor_name")
    private String actorName;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "签署完成时间")
    @TableField("sign_end_time")
    private Date signEndTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_name")
    private String createName;

    @ApiModelProperty(value = "任务id")
    @TableField("task_id")
    private Long taskId;

    @ApiModelProperty(value = "预览文件地址")
    @TableField("view_url")
    private String viewUrl;

    @ApiModelProperty(value = "下载文件地址")
    @TableField("download_url")
    private String downloadUrl;

    @ApiModelProperty(value = "部门")
    @TableField("dept_id")
    private Long deptId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;


}
